package excercise;

public class Q38_Magazine {
	
	private String title;
	private int allpage;
	private String writer;
	private String pubdate;
	
	
	public Q38_Magazine() {	}
	public Q38_Magazine ( String title, int allpage, String writer, String pubdate ) {
		this.title = title;
		this.allpage = allpage;
		this.writer = writer;
		this.pubdate = pubdate;
		
	}
	
	// SG title
	public void setTitle ( String title ) { this.title = title; }
	public String getTitle () { return this.title; }
	// SG allpage
	public void setAllpage ( int allpage ) { this.allpage = allpage; }
	public int getAllpage () { return this.allpage; }
	// SG writer
	public void setWriter ( String writer ) { this.writer = writer; }
	public String getWriter () { return this.writer; }
	// SG pubdate
	public void setPubdate ( String pubdate ) { this.pubdate = pubdate; }
	public String getPubdate () { return this.pubdate; }
		
	
// title, allpage, writer, pubdate
}
